home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / cstdio.arc / SRC.ARC / IO2INIT.C < prev    next >
C/C++ Source or Header  |  1984-07-23  |  464b  |  16 lines

  1. /*    io2init.c - level 2 I/O initialization.
  2.     (C) Copyright 1984 Gregory R. Mansfield - All Rights Reserved.
  3.     G. R. Mansfield.  84/06/05.
  4.     Ver 1.2-4723.
  5. */
  6.  
  7. #define IO2INIT
  8. #include "stdio.h"
  9.  
  10. FILE _iob[_NFILE] = {
  11.     { NULL, 0, NULL, 5 /*_READ | _UNBUF*/, 0 },    /* stdin */
  12.     { NULL, 0, NULL, 6 /*_WRITE | _UNBUF*/, 1 },    /* stdout */
  13.     { NULL, 0, NULL, 6 /*_WRITE | _UNBUF*/, 2 },    /* stderr */
  14.     { NULL, 0, NULL, 6 /*_WRITE | _UNBUF*/, 0 }    /* stdbfr */
  15. };
  16.